package com.xrh.xdemo.api.request.addRequest;

import java.util.List;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.xrh.xdemo.api.dto.extend.MarkInfo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class MarkLibAddRequest{

	/**标签库名称 */
	@ApiModelProperty("标签库名称")
	@NotBlank(message = "标签库名称不能为空")
	private String libName;

	/**备注 */
	@ApiModelProperty("备注")
	private String remark;
	
	/**标签信息列表 */
	@ApiModelProperty("标签信息列表")
	@NotEmpty(message = "标签信息列表不能为空")
	private List<MarkInfo> markInfoList;

}
